from app01 import models
from stark.service.stark import site
from .views import department,userinfo,course,school,class_list,customer,consultrecord,student,courserecord,studyrecord

site.register(models.Department,department.DepartmentConfig)
site.register(models.UserInfo,userinfo.UserInfoConfig)
site.register(models.Course,course.CourseConfig)
site.register(models.School,school.SchoolConfig)
site.register(models.ClassList,class_list.ClassListConfig)

site.register(models.Customer,customer.CustomerConfig)
site.register(models.Customer,customer.PublicCustomerConfig,'public')
site.register(models.Customer,customer.PrivateCustomerConfig,'private')

site.register(models.ConsultRecord,consultrecord.ConsultRecordConfig)
site.register(models.ConsultRecord,consultrecord.PrivateConsultRecordConfig,'private')

site.register(models.Student,student.StudentConfig)
site.register(models.CourseRecord,courserecord.CourseRecordConfig)
site.register(models.StudyRecord,studyrecord.StudyRecordConfig)

